﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>服务展示</title>
    <style type="text/css">
        <!--
        body {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
        }

        .text {
            font-family: "宋体";
            font-size: 36px;
            line-height: 60px;
            text-align: center;
        }

        .text2 {
            font-family: "宋体";
            font-size: 36px;
            line-height: 60px;
            text-align: center;
        }

        .text3 {
            font-family: "宋体";
            font-size: 36px;
            line-height: 60px;
            text-align: center;
            background-color: #f9d670;
        }

        .text4 {
            font-family: "宋体";
            font-size: 36px;
            line-height: 65px;
            text-align: center;
            color: #a23808;
        }

        .text5 {
            font-family: "宋体";
            font-size: 27px;
            line-height: 30px;
            text-align: center;
            color: #a23808;
            cursor: pointer;
        }

        .tdimg {
            width: 200px;
            height: 250px;
            text-align: center;
        }

        .tdname {
            text-align: center;
            font-family: "宋体";
            font-size: 30px;
            vertical-align: middle;
        }

        .redtdname {
            text-align: center;
            font-family: "宋体";
            font-size: 30px;
            color: red;
            vertical-align: middle;
        }

        .tdtable {
            width: 100%;
            height: 160px;
        }

        .pictureclass {
            width: 150px;
            height: 200px;
        }

        #demo {
            border: none;
            text-align: center;
            float: left;
            position: absolute;
        }
        -->
    </style>
    <script src="../../Scripts/jquery.min.js"></script>
    <script src="../../Scripts/marquee/kxbdMarquee.js"></script>
    <script src="../../Scripts/Timer/Timer.js"></script>
    <script>
        var speed = 15; //数字越大速度越慢 
        $(function () {

            $.ajax({
                url: "../../Map/GetOfficePerson",
                data: { 'officeid': '<%= ViewData["officeid"] %>' },
                success: function (data) {
                    $('#tbMap').html(data);
                     
                }
            });


            var meizz;  //设置一个全局变量 
            var n = 300000;  //时间设置(300秒)          
            meizz = setTimeout("window.location.href='../../Map/Index'", n);
            document.onmousedown = function () {
                clearTimeout(meizz);
                meizz = setTimeout("window.location.href='../../Map/Index'", n);
            }
            document.onkeydown = function () {
                clearTimeout(meizz);
                meizz = setTimeout("window.location.href='../../Map/Index'", n);
            }

            
        });
    </script>

</head>

<body>

    <div style="width: 1920px; height: 1080px; margin: auto; background: url(../../images/map.jpg) no-repeat">
        <div id="demo" style="width: 1459px; height: 588px;  position: absolute;top: 325px;left: 230px;">
            <div id="demo1" style="OVERFLOW-Y: auto; OVERFLOW-X:hidden;height: 588px;">
                <table width="1440" border="1" bordercolor=" #a23808" cellspacing="0" cellpadding="0" id="tbMap">
                </table>
            </div>
        </div>

    </div>
    <input type="image" src="../../Images/back.jpg" style="position: absolute; top: 902px;left:1742px" onclick="javascript: window.history.go(-1)"/>
</body>
</html>
